import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import type {newObject,newRespnseData,reqtype,liketype} from '@/api/new/type'
export const usenewStore = defineStore('new', () => {
 
  const newdata = ref<newObject[]>([])

  const modifynewdata = (data: newObject[]) => {
    newdata.value = data
  }
  return {
    newdata,
    modifynewdata
  }
})
